package com.tenement.domain;

import java.util.Date;

/**
 * 用户模型
 */
public class TenementUser {
    /**
     * 用户id
     */
    private String userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户账号
     */
    private String userAccount;

    /**
     * 用户密码
     */
    private String userPassword;

    /**
     * 手机
     */
    private String userPhone;

    /**
     * 身份证
     */
    private String userIdentity;

    /**
     * 用户类型 0管理员，1操作员,2员工
     */
    private Integer userType;

    /**
     * 有效性 1有效，0无效
     */
    private Integer revision;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private String updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;

    /**
     * 微信唯一标识符
     */
    private String wxUser;

    public String getWxUser() {
        return wxUser;
    }

    public void setWxUser(String wxUser) {
        this.wxUser = wxUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.user_id
     *
     * @return the value of tenement_user.user_id
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.user_id
     *
     * @param userId the value for tenement_user.user_id
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.user_name
     *
     * @return the value of tenement_user.user_name
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getUserName() {
        return userName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.user_name
     *
     * @param userName the value for tenement_user.user_name
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.user_account
     *
     * @return the value of tenement_user.user_account
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getUserAccount() {
        return userAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.user_account
     *
     * @param userAccount the value for tenement_user.user_account
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount == null ? null : userAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.user_password
     *
     * @return the value of tenement_user.user_password
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getUserPassword() {
        return userPassword;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.user_password
     *
     * @param userPassword the value for tenement_user.user_password
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.user_phone
     *
     * @return the value of tenement_user.user_phone
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getUserPhone() {
        return userPhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.user_phone
     *
     * @param userPhone the value for tenement_user.user_phone
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.user_identity
     *
     * @return the value of tenement_user.user_identity
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getUserIdentity() {
        return userIdentity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.user_identity
     *
     * @param userIdentity the value for tenement_user.user_identity
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUserIdentity(String userIdentity) {
        this.userIdentity = userIdentity == null ? null : userIdentity.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.user_type
     *
     * @return the value of tenement_user.user_type
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public Integer getUserType() {
        return userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.user_type
     *
     * @param userType the value for tenement_user.user_type
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.REVISION
     *
     * @return the value of tenement_user.REVISION
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public Integer getRevision() {
        return revision;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.REVISION
     *
     * @param revision the value for tenement_user.REVISION
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setRevision(Integer revision) {
        this.revision = revision;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.CREATED_BY
     *
     * @return the value of tenement_user.CREATED_BY
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getCreatedBy() {
        return createdBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.CREATED_BY
     *
     * @param createdBy the value for tenement_user.CREATED_BY
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.CREATED_TIME
     *
     * @return the value of tenement_user.CREATED_TIME
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.CREATED_TIME
     *
     * @param createdTime the value for tenement_user.CREATED_TIME
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.UPDATED_BY
     *
     * @return the value of tenement_user.UPDATED_BY
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getUpdatedBy() {
        return updatedBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.UPDATED_BY
     *
     * @param updatedBy the value for tenement_user.UPDATED_BY
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy == null ? null : updatedBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_user.UPDATED_TIME
     *
     * @return the value of tenement_user.UPDATED_TIME
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_user.UPDATED_TIME
     *
     * @param updatedTime the value for tenement_user.UPDATED_TIME
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}